import { ProCard } from '@ant-design/pro-components';
import { ActionType } from '@ant-design/pro-table';
import React, { useRef } from 'react';
import { useAccess } from 'umi';

interface TableRankProps {
  createdTimes: string[];
  onRefurbish: () => void;
}

const TableRank: React.FC<TableRankProps> = ({ createdTimes, onRefurbish }) => {
  const access = useAccess();
  const actionRef = useRef<ActionType>();

  return (
    <ProCard split="vertical">
      <ProCard colSpan="384px" ghost></ProCard>
      <ProCard></ProCard>
    </ProCard>
  );
};

export default TableRank;
